import request from '@/utils/request'

// 查询私课课程管理列表
export function listElfishCourse(query) {
  return request({
    url: '/keep/elfishCourse/list',
    method: 'get',
    params: query
  })
}

// 查询私课课程管理详细
export function getElfishCourse(id) {
  return request({
    url: '/keep/elfishCourse/' + id,
    method: 'get'
  })
}

// 新增私课课程管理
export function addElfishCourse(data) {
  return request({
    url: '/keep/elfishCourse',
    method: 'post',
    data: data
  })
}

// 修改私课课程管理
export function updateElfishCourse(data) {
  return request({
    url: '/keep/elfishCourse',
    method: 'put',
    data: data
  })
}

// 删除私课课程管理
export function delElfishCourse(id) {
  return request({
    url: '/keep/elfishCourse/' + id,
    method: 'delete'
  })
}
